package com.lucky.yingying

class APIResult<T> {
    var msg: String = ""
    var success: Boolean = false
    var data: T? = null

    constructor(msg: String, success: Boolean) {
        this.msg = msg
        this.success = success
    }

    constructor(msg: String, success: Boolean, data: Any?) {
        this.msg = msg
        this.success = success
        this.data = data as T?
    }

}